package JAVA;
//类和对象
class Student{
    private String sutNnm;
    public String name;
    public int age;
    public String eat(){
        System.out.println("吃饭");
    }
    public Student(){
        this("zhangshan",10 , 12345);
        System.out.println("不带参数");
    }
    public Student(String name, int age, String sutNnm) {
        this.name = name;
        this.age = age;
        this.sutNnm= sutNnm;
    }
}
public class Test {

    public static void main(String[] args) {

    }
}
